<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧医疗数据监控和告警系统</title>
    <link rel="icon" href="../favicon.ico">
    <link rel="stylesheet" type="text/css" href="../static/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="../static/css/main.css"/>

</head>

<body>
<div class="container">
    <div class="header">
        <span class="left">患 者 信 息 修 改</span>
        <span class="right">你 好，{{user_info}}管 理 员!</span>
        <span class="right_right"><a href="/">退出登录</a></span>
    </div>
    <div class="leftside">
        <ul>
            <li><a href="/student">患者基本信息录入</a></li>
             <li class="first"><a href="#">患者信息修改</a></li>
            <li><a href="/teacher_class">医护人员排班查看</a></li>
            <li><a href="/teacher">患者诊疗项目录入</a></li>
            <li><a href="/grade">诊疗结果信息录入</a></li>
            <li><a href="/grade_infos">患者诊疗历史查询</a></li>
            <li><a href="/graduation">患者出院情况查看</a></li>
            <li><a href="/adminstator">医疗系统权限管理</a></li>
        </ul>
    </div>
    <div class="container-fluid">
        <h1 class="sub-header">患 者 信 息 修 改 系 统</h1>&nbsp;&nbsp;
        <hr>
        <div class="table-responsive">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th>*输入患者id<span>(限全数字的id)</span></th>
                        <th>(输入修改后联系方式)<span></span></th>
                        <th>(输入修改后患者姓名)<span></span></th>
                        <th>选择(修改/删除)患者</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <form action="" method="post" onsubmit="return handleSubmit()">
                            <td><input class="long" name="student_id" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td><input class="long" name="student_class" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td><input class="long" name="student_name" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td><select name="selected_one">
                                    <option value="修改患者联系方式">修改患者联系方式</option>
                                    <option value="修改患者姓名">修改患者姓名</option>
                                    <option value="删除患者 ">删除患者</option>
                                </select></td>
                            <td><input class="last" type="submit" value="操作" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td><span>操作结果:{{insert_result}}</span></td>
                        </form>
                    </tr>
                    <tr>
                        <td>患者id</td>
                        <td>联系方式</td>
                        <td>姓名</td>

                    </tr>
                    {% for result in results %}
                    <tr>
                        <td>{{result[0]}}</td>
                        <td>{{result[1]}}</td>
                        <td>{{result[2]}}</td>


                    </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>

</div>


</body>

</html>